package com.woniu.scss.feign;

import com.woniu.scss.dto.AddrDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * packageName com.woniu.scss.feign
 *
 * @author zxyang3636
 * @version JDK 8
 * @className CustomerFeign
 * @date 2024/8/8
 * @description TODO
 */

@FeignClient(name = "custom-server")
public interface CustomerFeign {

    @GetMapping("/selUserAddrById")
    AddrDTO selUserAddrById(@RequestParam("addressId") String addressId);
}
